package com.example.demo.dao.impl;

import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Value;

import javax.ws.rs.DefaultValue;

@Component(value="TestDao04")

public class TestDao04 {
    @Value("lameloball")
    String name2;
    public void show(){
        System.out.println("hello annotate!");
        System.out.println(name2);
    }
}
